package com.suneee.quartz;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;

import com.suneee.quartz.common.JobNameParams;
import com.suneee.quartz.common.QuartzJobCommonUtil;
import com.suneee.refund.job.RefundApplyJob;

public class SyncRefundApplyServlet extends HttpServlet {

	/**
	 * 
	 */
	private static final long serialVersionUID = -8957033925637082704L;

	@Override
	public void init() throws ServletException {
		QuartzJobCommonUtil.build(
				JobNameParams.SYNC_REFUND_APPLY, 
				JobNameParams.BUSSINESS_GROUP_REFUND, 
				JobNameParams.SYNC_REFUND_APPLY_INTERVAL, 
				RefundApplyJob.class);
		QuartzJobCommonUtil.start();
	}
}
